﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
using Gameplay.PVE.Survivor;
using OWL.Rendering.HRP;
using UnityEditor;
using UnityEngine;
using Yoozoo.HRP.Runtime;
using Vector3 = UnityEngine.Vector3;

[CustomEditor(typeof(TruckWheel))]
public class TruckWheelEditor : Editor
{
    private TruckWheel data;

    private void OnEnable()
    {
        data = target as TruckWheel;
    }

    public override void OnInspectorGUI()
    {
        if (GUILayout.Button("生成路点"))
        {
            data.SimulatePathByDebug();
        }
        base.OnInspectorGUI();
    }
}